package cn.appsys.mapper;

import cn.appsys.pojo.Version;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VersionMapper {

    public List<Version> getVersionListByAppId(@Param("id") Long id);

    public Version getVersionByAppId(@Param("id") Long id);

    public Version getVersionById(@Param("id") Long id);

    public Integer addVersion(Version version);

    public Integer updateVersion(Version version);

    public Integer delApk(@Param("id") Long id);

    public Integer delVersionByAppId(@Param("appId") Long appId);

}
